package com.qzing.apijson.demo.model;

import apijson.MethodAccess;
import apijson.framework.BaseModel;

import java.util.Date;

/**
 * @ClassName Stone
 * @Description TODO
 * @Author liucs
 * @Date 2021-03-25
 * @Version V1.0
 */
@MethodAccess
//        (
//        GET = {ADMIN},
//        HEAD = {},
//        GETS = {UNKNOWN, LOGIN, CONTACT, CIRCLE, OWNER, ADMIN},
//        HEADS = {UNKNOWN, LOGIN, CONTACT, CIRCLE, OWNER, ADMIN},
//        POST = { OWNER, ADMIN},
//        PUT = {ADMIN},
//        DELETE = {ADMIN}
//)
public class Stone extends BaseModel {
    private Long id;
    private Integer cost;
    private Integer price;
    private Integer length;
    private Integer width;
    private Integer height;
    private Float weight;
    private Date creationDate;
    private Date modifyDate;
    private String  modifier;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public Stone setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getCost() {
        return cost;
    }

    public void setCost(Integer cost) {
        this.cost = cost;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
}
